﻿// 根据金蝶云星空元数据查询接口获取元数据K3CloudQueryBusinessInfoRequest
// 根据DotLiquid模板生成C#类型，模板存放于Admin.NET.Web.Entwwwroot/Template/K3CloudEntiry.cs.vm
// 当前元数据：[2052, 客户](BD_Customer)

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Jim.K3Cloud;


/// <summary>
/// Name:基本信息 Key:FBillHead EntryName:BD_CUSTOMETableName:T_BD_CUSTOMEEntityType:HeadEntity
/// </summary>
public class BD_Customer:K3CloudBaseData<long>
{

    /// <summary>
    /// 名称:单据状态 Key:FDocumentStatus 数据库字段名:FDOCUMENTSTATUS 数据库表名:T_BD_CUSTOME枚举信息:Z:暂存;A:创建;B:审核中;C:已审核;D:重新审核;
    /// </summary>
    public string DocumentStatus {get;set;}
    /// <summary>
    /// 名称:禁用状态 Key:FForbidStatus 数据库字段名:FFORBIDSTATUS 数据库表名:T_BD_CUSTOME枚举信息:A:否;B:是;
    /// </summary>
    public string ForbidStatus {get;set;}
    /// <summary>
    /// 名称:客户名称 Key:FNam数据库字段名:FNAM数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>   
    [JsonConverter(typeof(LocaleValueConverter))]
    public string Nam{get;set;}
    /// <summary>
    /// 名称:客户编码 Key:FNumbe数据库字段名:FNUMBE数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string Numbe{get;set;}
    /// <summary>
    /// 名称:备注 Key:FDescription 数据库字段名:FDESCRIPTION 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    [JsonConverter(typeof(LocaleValueConverter))]
    public string Description {get;set;}
    /// <summary>
    /// 名称:创建组织 Key:FCreateOrgId 数据库字段名:FCREATEORGID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleORG_Organizations CreateOrgId {get;set;}
    public int CreateOrgId_Id {get;set;}
    /// <summary>
    /// 名称:使用组织 Key:FUseOrgId 数据库字段名:FUSEORGID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleORG_Organizations UseOrgId {get;set;}
    public int UseOrgId_Id {get;set;}
    /// <summary>
    /// 名称:创建人 Key:FCreatorId 数据库字段名:FCREATORID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User CreatorId {get;set;}
    public int CreatorId_Id {get;set;}
    /// <summary>
    /// 名称:修改人 Key:FModifierId 数据库字段名:FMODIFIERID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User ModifierId {get;set;}
    public int ModifierId_Id {get;set;}
    /// <summary>
    /// 名称:创建日期 Key:FCreateDat数据库字段名:FCREATEDAT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public DateTime CreateDate {get;set;}
    /// <summary>
    /// 名称:修改日期 Key:FModifyDat数据库字段名:FMODIFYDAT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public DateTime FModifyDate {get;set;}
    /// <summary>
    /// 名称:简称 Key:FShortNam数据库字段名:FSHORTNAM数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>  
    [JsonConverter(typeof(LocaleValueConverter))]
    public string ShortName {get;set;}
    /// <summary>
    /// 名称:国家 Key:FCOUNTR数据库字段名:FCOUNTR数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT COUNTR{get;set;}
    public string COUNTRY_Id {get;set;}
    /// <summary>
    /// 名称:地区 Key:FPROVINCIAL 数据库字段名:FPROVINCIAL 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT PROVINCIAL {get;set;}
    public string PROVINCIAL_Id {get;set;}
    /// <summary>
    /// 名称:邮政编码 Key:FZIP 数据库字段名:FZIP 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string FZIP {get;set;}
    /// <summary>
    /// 名称:手机号码 Key:FTEL 数据库字段名:FTEL 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string TEL {get;set;}
    /// <summary>
    /// 名称:纳税登记号 Key:FTAXREGISTERCOD数据库字段名:FTAXREGISTERCOD数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string FTAXREGISTERCOD{get;set;}
    /// <summary>
    /// 名称:传真 Key:FFAX 数据库字段名:FFAX 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string FAX {get;set;}
    /// <summary>
    /// 名称:对应集团客户 Key:FGROUPCUSTID 数据库字段名:FGROUPCUSTID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Customer FGROUPCUSTID {get;set;}
    public int FGROUPCUSTID_Id {get;set;}
    /// <summary>
    /// 名称:对应供应商 Key:FSUPPLIERID 数据库字段名:FSUPPLIERID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Supplier FSUPPLIERID {get;set;}
    public int FSUPPLIERID_Id {get;set;}
    /// <summary>
    /// 名称:结算币别 Key:FTRADINGCURRID 数据库字段名:FTRADINGCURRID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Currency TRADINGCURRID {get;set;}
    public int TRADINGCURRID_Id {get;set;}
    /// <summary>
    /// 名称:销售部门 Key:FSALDEPTID 数据库字段名:FSALDEPTID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Department SALDEPTID {get;set;}
    public int SALDEPTID_Id {get;set;}
    /// <summary>
    /// 名称:销售组 Key:FSALGROUPID 数据库字段名:FSALGROUPID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_OperatorGroup SALGROUPID {get;set;}
    public int SALGROUPID_Id {get;set;}
    /// <summary>
    /// 名称:销售员 Key:FSELLE数据库字段名:FSELLE数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Saler SELLE{get;set;}
    public int SELLER_Id {get;set;}
    /// <summary>
    /// 名称:运输提前期 Key:FTRANSLEADTIM数据库字段名:FTRANSLEADTIM数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public int TRANSLEADTIM{get;set;}
    /// <summary>
    /// 名称:价目表 Key:FPRICELISTID 数据库字段名:FPRICELISTID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_SAL_PriceList PRICELISTID {get;set;}
    public int PRICELISTID_Id {get;set;}
    /// <summary>
    /// 名称:折扣表 Key:FDISCOUNTLISTID 数据库字段名:FDISCOUNTLISTID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_SAL_DiscountList DISCOUNTLISTID {get;set;}
    public int DISCOUNTLISTID_Id {get;set;}
    /// <summary>
    /// 名称:结算方式 Key:FSETTLETYPEID 数据库字段名:FSETTLETYPEID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_SETTLETYPE SETTLETYPEID {get;set;}
    public int SETTLETYPEID_Id {get;set;}
    /// <summary>
    /// 名称:收款币别 Key:FRECEIVECURRID 数据库字段名:FRECEIVECURRID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Currency RECEIVECURRID {get;set;}
    public int RECEIVECURRID_Id {get;set;}
    /// <summary>
    /// 名称:收款条件 Key:FRECCONDITIONID 数据库字段名:FRECCONDITIONID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_RecCondition RECCONDITIONID {get;set;}
    public int RECCONDITIONID_Id {get;set;}
    /// <summary>
    /// 名称:启用信用管理 Key:FISCREDITCHECK 数据库字段名:FISCREDITCHECK 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public bool FISCREDITCHECK {get;set;}
    /// <summary>
    /// 名称:审核人 Key:FAPPROVERID 数据库字段名:FAPPROVERID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User APPROVERID {get;set;}
    public int APPROVERID_Id {get;set;}
    /// <summary>
    /// 名称:审核日期 Key:FAPPROVEDAT数据库字段名:FAPPROVEDAT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public DateTime APPROVEDATE{get;set;}
    /// <summary>
    /// 名称:禁用人 Key:FFORBIDDERID 数据库字段名:FFORBIDDERID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User FORBIDDERID {get;set;}
    public int FORBIDDERID_Id {get;set;}
    /// <summary>
    /// 名称:禁用日期 Key:FFORBIDDAT数据库字段名:FFORBIDDAT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public DateTime FORBIDDATE{get;set;}
    /// <summary>
    /// 名称:税分类 Key:FTaxTyp数据库字段名:FTAXTYP数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT TaxTyp{get;set;}
    public string TaxType_Id {get;set;}
    /// <summary>
    /// 名称:客户类别 Key:FCustTypeId 数据库字段名:FCUSTTYPEID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT CustTypeId {get;set;}
    public string CustTypeId_Id {get;set;}
    /// <summary>
    /// 名称:通讯地址 Key:FADDRESS 数据库字段名:FADDRESS 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string ADDRESS {get;set;}
    /// <summary>
    /// 名称:公司网址 Key:FWEBSIT数据库字段名:FWEBSIT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string WEBSIT{get;set;}
    /// <summary>
    /// 名称:客户分组 Key:FGroup 数据库字段名:FPRIMARYGROUP 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_FORMGROUP FGroup {get;set;}
    public int FGroup_Id {get;set;}
    /// <summary>
    /// 名称:公司规模 Key:FCompanyScal数据库字段名:FCOMPANYSCAL数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT CompanyScal{get;set;}
    public string CompanyScale_Id {get;set;}
    /// <summary>
    /// 名称:公司类别 Key:FCompanyClassif数据库字段名:FCOMPANYCLASSIF数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT CompanyTyp{get;set;}
    public string CompanyType_Id {get;set;}
    /// <summary>
    /// 名称:公司性质 Key:FCompanyNatur数据库字段名:FCOMPANYNATUR数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT CompanyNatur{get;set;}
    public string CompanyNature_Id {get;set;}
    /// <summary>
    /// 名称:对应组织 Key:FCorrespondOrgId 数据库字段名:FCORRESPONDORGID 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleORG_Organizations CorrespondOrgId {get;set;}
    public int CorrespondOrgId_Id {get;set;}
    /// <summary>
    /// 名称:客户优先级 Key:FPriorit数据库字段名:FPRIORIT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public int Priorit{get;set;}
    /// <summary>
    /// 名称:发票类型 Key:FInvoiceTyp数据库字段名:FINVOICETYP数据库表名:T_BD_CUSTOME枚举信息:1:增值税专用发票;2:普通发票;
    /// </summary>
    public string InvoiceTyp{get;set;}
    /// <summary>
    /// 名称:默认税率 Key:FTaxRat数据库字段名:FTAXRAT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_TaxRate TaxRate{get;set;}
    public int TaxRate_Id {get;set;}
    /// <summary>
    /// 名称:默认付款方 Key:FIsDefPaye数据库字段名:FISDEFPAYE数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public bool IsDefPaye{get;set;}
    /// <summary>
    /// 名称:订货平台管理员 Key:FCPAdminCod数据库字段名:FCPADMINCOD数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string CPAdminCod{get;set;}
    /// <summary>
    /// 名称:集团客户 Key:FIsGroup 数据库字段名:FISGROUP 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public bool IsGroup {get;set;}
    /// <summary>
    /// 名称:发票抬头 Key:FINVOICETITL数据库字段名:FINVOICETITL数据库表名:T_BD_CUSTOMER_枚举信息:
    /// </summary>
    public string INVOICETITL{get;set;}
    /// <summary>
    /// 名称:开户银行 Key:FINVOICEBANKNAM数据库字段名:FINVOICEBANKNAM数据库表名:T_BD_CUSTOMER_枚举信息:
    /// </summary>
    public string INVOICEBANKNAM{get;set;}
    /// <summary>
    /// 名称:银行账号 Key:FINVOICEBANKACCOUNT 数据库字段名:FINVOICEBANKACCOUNT 数据库表名:T_BD_CUSTOMER_枚举信息:
    /// </summary>
    public string INVOICEBANKACCOUNT {get;set;}
    /// <summary>
    /// 名称:开票联系电话 Key:FINVOICETEL 数据库字段名:FINVOICETEL 数据库表名:T_BD_CUSTOMER_枚举信息:
    /// </summary>
    public string INVOICETEL {get;set;}
    /// <summary>
    /// 名称:开票通讯地址 Key:FINVOICEADDRESS 数据库字段名:FINVOICEADDRESS 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string INVOICEADDRESS {get;set;}
    /// <summary>
    /// 名称:是否交易客户 Key:FIsTrad数据库字段名:FISTRAD数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public bool IsTrad{get;set;}
    /// <summary>
    /// 名称:不校验可发量 Key:FUncheckExpectQt数据库字段名:FUNCHECKEXPECTQT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public bool UncheckExpectQt{get;set;}
    /// <summary>
    /// 名称:集团客户标识(仅用于审核操作功能的一个判断标识) Key:FIsGroupTag 数据库字段名:FISGROUPTAG 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public bool IsGroupTag {get;set;}
    /// <summary>
    /// 名称:法人代表 Key:FLegalPerson 数据库字段名:FLEGALPERSON 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string LegalPerson {get;set;}
    /// <summary>
    /// 名称:注册资本 Key:FRegisterFund 数据库字段名:FREGISTERFUND 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string RegisterFund {get;set;}
    /// <summary>
    /// 名称:创立日期 Key:FFoundDat数据库字段名:FFOUNDDAT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string FoundDat{get;set;}
    /// <summary>
    /// 名称:行业 Key:FDomains 数据库字段名:FDOMAINS 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string Domains {get;set;}
    /// <summary>
    /// 名称:统一社会信用代码 Key:FSOCIALCRECOD数据库字段名:FSOCIALCRECOD数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string SOCIALCRECOD{get;set;}
    /// <summary>
    /// 名称:注册地址 Key:FRegisterAddress 数据库字段名:FREGISTERADDRESS 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string RegisterAddress {get;set;}
    /// <summary>
    /// 名称:客户联系人(内销) Key:FDomesticContact 数据库字段名:FDOMESTICCONTACT 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBAS_PreBaseDataTwo DomesticContact {get;set;}
    public int DomesticContact_Id {get;set;}
    /// <summary>
    /// 名称:销售模式 Key:FDesSalesModel 数据库字段名:FDESSALESMODEL 数据库表名:T_BD_CUSTOME枚举信息:MT:维修;OT:其他;ES:外销;DS:内销;EC:电商;
    /// </summary>
    public string DesSalesModel {get;set;}
    /// <summary>
    /// 名称:关系说明 Key:FDesRealationExplain 数据库字段名:FDESREALATIONEXPLAIN 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string DesRealationExplain {get;set;}
    /// <summary>
    /// 名称:邮箱地址 Key:FDesEmailAddress 数据库字段名:FDESEMAILADDRESS 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string DesEmailAddress {get;set;}
    /// <summary>
    /// 名称:销售员1 Key:FSELLER_1 数据库字段名:FSELLER_1 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Saler SELLER_1 {get;set;}
    public int SELLER_1_Id {get;set;}
    /// <summary>
    /// 名称:销售巴 Key:FAmoeba 数据库字段名:FAMOEBA 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBAS_PreBaseDataOne Amoeba {get;set;}
    public int Amoeba_Id {get;set;}
    /// <summary>
    /// 名称:联系人 Key:FForeignContact 数据库字段名:FFOREIGNCONTACT 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string ForeignContact {get;set;}
    /// <summary>
    /// 名称:电话 Key:FTelephon数据库字段名:FTELEPHON数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string Telephon{get;set;}
    /// <summary>
    /// 名称:地址 Key:FRegion 数据库字段名:FREGION 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string Region {get;set;}
    /// <summary>
    /// 名称:APP用户名 Key:FAppUserNam数据库字段名:FAPPUSERNAM数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string AppUserNam{get;set;}
    /// <summary>
    /// 名称:APP密码 Key:FAppPassWord 数据库字段名:FAPPPASSWORD 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string AppPassWord {get;set;}
    /// <summary>
    /// 名称:物联网联系人 Key:FNetContact 数据库字段名:FNETCONTACT 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string NetContact {get;set;}
    /// <summary>
    /// 名称:销售任务 Key:FSaleTarget 数据库字段名:FSALETARGET 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public decimal SaleTarget {get;set;}
    /// <summary>
    /// 名称:折扣率% Key:FDiscountRat数据库字段名:FDISCOUNTRAT数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public decimal DiscountRat{get;set;}
    /// <summary>
    /// 名称:销售区域 Key:FSaleRegion 数据库字段名:FSALEREGION 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string SaleRegion {get;set;}
    /// <summary>
    /// 名称:发票收票地址 Key:FinvoiceGetAddress 数据库字段名:FINVOICEGETADDRESS 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string invoiceGetAddress {get;set;}
    /// <summary>
    /// 名称:品牌 Key:FBrand 数据库字段名:FBRAND 数据库表名:T_BD_CUSTOME枚举信息:JN:九牛;HP:禾浦;QW:青蛙;QT:其他;XC:信诚;XB:熊豹;HH:荷花;
    /// </summary>
    public string Brand {get;set;}
    /// <summary>
    /// 名称:物流地址 Key:FLogisticsAddress 数据库字段名:FLOGISTICSADDRESS 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string FLogisticsAddress {get;set;}
    /// <summary>
    /// 名称:协议 Key:FAgreement 数据库字段名:FAGREEMENT 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string FAgreement {get;set;}
    /// <summary>
    /// 名称:付款方式 Key:FPayment 数据库字段名:FPAYMENT 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public string FPayment {get;set;}
    /// <summary>
    /// 名称:是否进出口公司 Key:FJCK 数据库字段名:FJCK 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT FJCK {get;set;}
    public string FJCK_Id {get;set;}
    /// <summary>
    /// 名称:销售部门 Key:FSalDept 数据库字段名:FSALDEPT 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Department FSalDept {get;set;}
    public int FSalDept_Id {get;set;}
    /// <summary>
    /// 名称:客户对应仓库 Key:FCustStock 数据库字段名:FCUSTSTOCK 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_STOCK FCustStock {get;set;}
    public int FCustStock_Id {get;set;}
    /// <summary>
    /// 名称:调拨中转仓 Key:FCustStockDB 数据库字段名:FCUSTSTOCKDB 数据库表名:T_BD_CUSTOME枚举信息:
    /// </summary>
    public K3CloudSimpleBD_STOCK FCustStockDB {get;set;}
    public int FCustStockDB_Id {get;set;}
    /// <summary>
    /// 银行信息
    /// </summary>
    public List<BD_CustomerBD_CUSTBANK> BD_CUSTBANK {get;set;}
    /// <summary>
    /// 地址信息
    /// </summary>
    public List<BD_CustomerBD_CUSTCONTACT> BD_CUSTCONTACT {get;set;}
    /// <summary>
    /// 订货组织
    /// </summary>
    public List<BD_CustomerBD_CUSTORDERORG> BD_CUSTORDERORG {get;set;}
    /// <summary>
    /// 商务信息
    /// </summary>
    public List<BD_CustomerBD_CUSTOMEREXT> BD_CUSTOMEREXT {get;set;}
    /// <summary>
    /// 对应子账户信息
    /// </summary>
    public List<BD_CustomerBD_CUSTSUBACCOUNT> BD_CUSTSUBACCOUNT {get;set;}  

}


/// <summary>
/// Name:银行信息 Key:FT_BD_CUSTBANK EntryName:BD_CUSTBANK TableName:T_BD_CUSTBANK EntityType:EntryEntity
/// </summary>
public class BD_CustomerBD_CUSTBANK:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:银行账号 Key:FBANKCOD数据库字段名:FBANKCOD数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public string BANKCOD{get;set;}
    /// <summary>
    /// 名称:币别 Key:FCURRENCYID 数据库字段名:FCURRENCYID 数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Currency CURRENCYID {get;set;}
    public int CURRENCYID_Id {get;set;}
    /// <summary>
    /// 名称:账户名称 Key:FACCOUNTNAM数据库字段名:FACCOUNTNAM数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public string ACCOUNTNAME {get;set;}
    /// <summary>
    /// 名称:默认 Key:FISDEFAULT1 数据库字段名:FISDEFAULT 数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public bool ISDEFAULT {get;set;}
    /// <summary>
    /// 名称:开户国家 Key:FCOUNTRY1 数据库字段名:FCOUNTR数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT COUNTR{get;set;}
    public string COUNTRY_Id {get;set;}
    /// <summary>
    /// 名称:开户银行 Key:FOPENBANKNAM数据库字段名:FOPENBANKNAM数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>    
    [JsonConverter(typeof(LocaleValueConverter))]
    public string OPENBANKNAM{get;set;}
    /// <summary>
    /// 名称:收款银行 Key:FBankTypeRec 数据库字段名:FBANKTYPEREC 数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public K3CloudSimpleWB_BankType BankTypeRec {get;set;}
    public int BankTypeRec_Id {get;set;}
    /// <summary>
    /// 名称:开户行地址 Key:FOpenAddressRec 数据库字段名:FOPENADDRESSREC 数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public string OpenAddressRec {get;set;}
    /// <summary>
    /// 名称:联行号 Key:FCNAPS 数据库字段名:FCNAPS 数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public string CNAPS {get;set;}
    /// <summary>
    /// 名称:网点名称 Key:FTextBankDetail 数据库字段名:FTEXTBANKDETAIL 数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public string FTextBankDetail {get;set;}
    /// <summary>
    /// 名称:银行网点 Key:FBankDetail 数据库字段名:FBANKDETAIL 数据库表名:T_BD_CUSTBANK 枚举信息:
    /// </summary>
    public K3CloudSimpleWB_BankDetail BankDetail {get;set;}
    public int BankDetail_Id {get;set;}  

}


/// <summary>
/// Name:地址信息 Key:FT_BD_CUSTCONTACT EntryName:BD_CUSTCONTACT TableName:T_BD_CUSTLOCATION EntityType:EntryEntity
/// </summary>
public class BD_CustomerBD_CUSTCONTACT:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:地点编码 Key:FNUMBER1 数据库字段名:FNUMBE数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public string NUMBE{get;set;}
    /// <summary>
    /// 名称:地点名称 Key:FNAME1 数据库字段名:FNAM数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public string NAM{get;set;}
    /// <summary>
    /// 名称:详细地址 Key:FADDRESS1 数据库字段名:FADDRESS 数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public string ADDRESS {get;set;}
    /// <summary>
    /// 名称:运输提前期 Key:FTRANSLEADTIME1 数据库字段名:FTRANSLEADTIM数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public int TRANSLEADTIM{get;set;}
    /// <summary>
    /// 名称:税率 Key:FTAXRATE1 数据库字段名:FTAXRAT数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public decimal TAXRAT{get;set;}
    /// <summary>
    /// 名称:默认收货地址 Key:FIsDefaultConsigne数据库字段名:FISDEFAULTCONSIGNE数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public bool IsDefaultConsigne{get;set;}
    /// <summary>
    /// 名称:默认开票地址 Key:FIsDefaultSettl数据库字段名:FISDEFAULTSETTL数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public bool IsDefaultSettl{get;set;}
    /// <summary>
    /// 名称:默认付款地址 Key:FIsDefaultPaye数据库字段名:FISDEFAULTPAYE数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public bool IsDefaultPaye{get;set;}
    /// <summary>
    /// 名称:固定电话 Key:FTTel 数据库字段名:FTEL 数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public string TTel {get;set;}
    /// <summary>
    /// 名称:电子邮箱 Key:FEMail 数据库字段名:FEMAIL 数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public string EMail {get;set;}
    /// <summary>
    /// 名称:启用 Key:FIsUsed 数据库字段名:FISUSED 数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public bool IsUsed {get;set;}
    /// <summary>
    /// 名称:联系人 Key:FTContact 数据库字段名:FTCONTACT 数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_CustContact TContact {get;set;}
    public int TContact_Id {get;set;}
    /// <summary>
    /// 名称:移动电话 Key:FMOBIL数据库字段名:FMOBIL数据库表名:T_BD_CUSTLOCATION 枚举信息:
    /// </summary>
    public string MOBILE {get;set;}
    /// <summary>
    /// 名称:地址禁用状态 Key:FLocationStatus 数据库字段名:FLOCATIONSTATUS 数据库表名:T_BD_CUSTLOCATION 枚举信息:A:否;B:是;
    /// </summary>
    public string FLocationStatus {get;set;}  

}


/// <summary>
/// Name:订货组织 Key:FT_BD_CUSTORDERORG EntryName:BD_CUSTORDERORG TableName:T_BD_CUSTORDERORG EntityType:EntryEntity
/// </summary>
public class BD_CustomerBD_CUSTORDERORG:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:订货组织 Key:FOrderOrgId 数据库字段名:FORDERORGID 数据库表名:T_BD_CUSTORDERORG 枚举信息:
    /// </summary>
    public K3CloudSimpleORG_Organizations OrderOrgId {get;set;}
    public int OrderOrgId_Id {get;set;}
    /// <summary>
    /// 名称:默认 Key:FIsDefaultOrderOrg 数据库字段名:FISDEFAULT 数据库表名:T_BD_CUSTORDERORG 枚举信息:
    /// </summary>
    public bool ISDEFAULT {get;set;}  

}


/// <summary>
/// Name:商务信息 Key:FT_BD_CUSTOMEREXT EntryName:BD_CUSTOMEREXT TableName:T_BD_CUSTOMEREXT EntityType:SubHeadEntity
/// </summary>
public class BD_CustomerBD_CUSTOMEREXT:K3CloudIDBase<long>
{

    /// <summary>
    /// 名称:启用商联在线 Key:FEnableSL 数据库字段名:FENABLESL 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public bool EnableSL {get;set;}
    /// <summary>
    /// 名称:冻结状态 Key:FFreezeStatus 数据库字段名:FFREEZESTATUS 数据库表名:T_BD_CUSTOMEREXT 枚举信息:A:正常;B:冻结;
    /// </summary>
    public string FreezeStatus {get;set;}
    /// <summary>
    /// 名称:冻结范围 Key:FFreezeLimit 数据库字段名:FFREEZELIMIT 数据库表名:T_BD_CUSTOMEREXT 枚举信息:Invoice:发票;ReturnMoney:退款;OutStock:出库;PriceQuotation:报价;DeliveryNotice:发货通知;ReturnStock:退货;ReceiveMoney:收款;SaleOrder:订单;
    /// </summary>
    public string FreezeLimit {get;set;}
    /// <summary>
    /// 名称:冻结人 Key:FFreezeOperato数据库字段名:FFREEZEOPERATO数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public K3CloudSimpleSEC_User FreezeOperato{get;set;}
    public int FreezeOperator_Id {get;set;}
    /// <summary>
    /// 名称:冻结日期 Key:FFreezeDat数据库字段名:FFREEZEDAT数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public DateTime FreezeDate {get;set;}
    /// <summary>
    /// 名称:省份 Key:FPROVINC数据库字段名:FPROVINC数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT PROVINC{get;set;}
    public string PROVINCE_Id {get;set;}
    /// <summary>
    /// 名称:城市 Key:FCIT数据库字段名:FCIT数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public K3CloudSimpleBOS_ASSISTANTDATA_SELECT CIT{get;set;}
    public string CITY_Id {get;set;}
    /// <summary>
    /// 名称:默认收货地点 Key:FDefaultConsiLoc 数据库字段名:FDEFAULTCONSILOC 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_CUSTCONTACTION DefaultConsiLoc {get;set;}
    public int DefaultConsiLoc_Id {get;set;}
    /// <summary>
    /// 名称:默认开票地点 Key:FDefaultSettleLoc 数据库字段名:FDEFAULTSETTLELOC 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_CUSTCONTACTION DefaultSettleLoc {get;set;}
    public int DefaultSettleLoc_Id {get;set;}
    /// <summary>
    /// 名称:默认付款地点 Key:FDefaultPayerLoc 数据库字段名:FDEFAULTPAYERLOC 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_CUSTCONTACTION DefaultPayerLoc {get;set;}
    public int DefaultPayerLoc_Id {get;set;}
    /// <summary>
    /// 名称:默认联系人 Key:FDefaultContact 数据库字段名:FDEFAULTCONTACT 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_CommonContact DefaultContact {get;set;}
    public int DefaultContact_Id {get;set;}
    /// <summary>
    /// 名称:保证金比例（%） Key:FMarginLevel 数据库字段名:FMARGINLEVEL 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public decimal MarginLevel {get;set;}
    /// <summary>
    /// 名称:结算卡 Key:FDebitCard 数据库字段名:FDEBITCARD 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public string FDebitCard {get;set;}
    /// <summary>
    /// 名称:结算方 Key:FSettleId 数据库字段名:FSETTLEID 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Customer SettleId {get;set;}
    public int SettleId_Id {get;set;}
    /// <summary>
    /// 名称:付款方 Key:FChargeId 数据库字段名:FCHARGEID 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public K3CloudSimpleBD_Customer ChargeId {get;set;}
    public int ChargeId_Id {get;set;}
    /// <summary>
    /// 名称:允许对接智慧订货 Key:FALLOWJOINZHJ 数据库字段名:FALLOWJOINZHJ 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public bool FALLOWJOINZHJ {get;set;}
    /// <summary>
    /// 名称:联系人必录 Key:FIsContractMustInPut 数据库字段名:FISCONTRACTMUSTINPUT 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public bool IsContractMustInPut {get;set;}
    /// <summary>
    /// 名称:联系人数量 Key:FContractCount 数据库字段名:FCONTRACTCOUNT 数据库表名:T_BD_CUSTOMEREXT 枚举信息:
    /// </summary>
    public int ContractCount {get;set;}  

}


/// <summary>
/// Name:对应子账户信息 Key:FT_BD_CUSTSUBACCOUNT EntryName:BD_CUSTSUBACCOUNT TableName:T_BD_CUSTSUBACCOUNT EntityType:EntryEntity
/// </summary>
public class BD_CustomerBD_CUSTSUBACCOUNT:K3CloudIDBase<long>
{

    /// <summary>
    /// 排序
    /// </summary>
    public int SE{get;set;}
    /// <summary>
    /// 名称:子账户类型 Key:FSUBACCOUNTTYP数据库字段名:FSUBACCOUNTTYP数据库表名:T_BD_CUSTSUBACCOUNT 枚举信息:1:农行结算卡;2:招行虚拟户;
    /// </summary>
    public string FSUBACCOUNTTYP{get;set;}
    /// <summary>
    /// 名称:子账户号 Key:FSUBACCOUNT 数据库字段名:FSUBACCOUNT 数据库表名:T_BD_CUSTSUBACCOUNT 枚举信息:
    /// </summary>
    public string FSUBACCOUNT {get;set;}  

}
 
